Telegram Group & Telegram Channel
New release, v0.26.0:

Added:

1. Add TelegramBot constructor options:
* options.https
* options.baseApiUrl
* options.filepath
2. Add methods:
* TelegramBot#stopPolling()
* TelegramBot#isPolling()
* TelegramBot#openWebHook()
* TelegramBot#closeWebHook()
* TelegramBot#hasOpenWebHook()
* TelegramBot#deleteWebHook()
* TelegramBot#getWebHookInfo()

Changed:

1. Use POST requests by default
2. Ensure all relevant methods return Promises
3. Document auto-deletion of webhook during polling
4. Deprecate support for Node.js v0.12
5. Fix consistency of methods signatures
6. Rename TelegramBot#initPolling() to TelegramBot#startPolling()
* Deprecate TelegramBot#initPolling()

Fixed:

1. Handle error during formatting formData
2. Fix ES6 syntax

Credits/Blames: Unless explicitly stated otherwise, above work was done by @GochoMugo. Thanks to all who have contributed in code and discussion in advancing this project.

We hope you find the library more easier and stable to work with. Happy coding!



tg-me.com/node_telegram_bot_api/32
Create:
Last Update:

New release, v0.26.0:

Added:

1. Add TelegramBot constructor options:
* options.https
* options.baseApiUrl
* options.filepath
2. Add methods:
* TelegramBot#stopPolling()
* TelegramBot#isPolling()
* TelegramBot#openWebHook()
* TelegramBot#closeWebHook()
* TelegramBot#hasOpenWebHook()
* TelegramBot#deleteWebHook()
* TelegramBot#getWebHookInfo()

Changed:

1. Use POST requests by default
2. Ensure all relevant methods return Promises
3. Document auto-deletion of webhook during polling
4. Deprecate support for Node.js v0.12
5. Fix consistency of methods signatures
6. Rename TelegramBot#initPolling() to TelegramBot#startPolling()
* Deprecate TelegramBot#initPolling()

Fixed:

1. Handle error during formatting formData
2. Fix ES6 syntax

Credits/Blames: Unless explicitly stated otherwise, above work was done by @GochoMugo. Thanks to all who have contributed in code and discussion in advancing this project.

We hope you find the library more easier and stable to work with. Happy coding!

BY Node Telegram Bot API


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/node_telegram_bot_api/32

View MORE
Open in Telegram


Node Telegram Bot API Telegram | DID YOU KNOW?

Date: |

Telegram today rolling out an update which brings with it several new features.The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations.

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

Node Telegram Bot API from tw


Telegram Node Telegram Bot API
FROM USA